Functor Categories and Two-Level Languages

نویسنده

  • Eugenio Moggi
چکیده

We propose a denotational semantics for the two-level language of [GJ91, Gom92], and prove its correctness w.r.t. a standard denotational semantics. Other researchers (see [Gom91, GJ91, Gom92, JGS93, HM94]) have claimed correctness for lambda-mix (or extensions of it) based on denotational models, but the proofs of such claims rely on imprecise definitions and are basically flawed. At a technical level there are two important differences between our model and more naive models in Cpo: the domain for interpreting dynamic expressions is more abstract (we interpret code as λ-terms modulo α-conversion), the semantics of newname is handled differently (we exploit functor categories). The key idea is to interpret a two-level language in a suitable functor category Cpo op rather than Cpo. The semantics of newname follows the ideas pioneered by Oles and Reynolds for modeling the stack discipline of Algol-like languages. Indeed, we can think of the objects of D (i.e. the natural numbers) as the states of a name counter, which is incremented when entering the body of a λ-abstraction and decremented when coming out. Correctness is proved using Kripke logical relations (see [MM91, NN92]).

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Fuzzy projective modules and tensor products in fuzzy module categories

Let $R$ be a commutative ring. We write $mbox{Hom}(mu_A, nu_B)$ for the set of all fuzzy $R$-morphisms from $mu_A$ to $nu_B$, where $mu_A$ and $nu_B$ are two fuzzy $R$-modules. We make$mbox{Hom}(mu_A, nu_B)$ into fuzzy $R$-module by redefining a function $alpha:mbox{Hom}(mu_A, nu_B)longrightarrow [0,1]$. We study the properties of the functor $mbox{Hom}(mu_A,-):FRmbox{-Mod}rightarrow FRmbox{-Mo...

متن کامل

Localization and the Long Intertwining Operator for Representations of Affine Kac-moody Algebras

The first author introduced a certain functor, denoted Φ, from the category of Kac-Moody representations at the negative level to that at the positive level. We interpret this functor as a composition of two contravariant functors: one is the usual contragredient duality (from the negative level to itself), and then Verdier duality from the negative level to the positive level (that comes from ...

متن کامل

On categories of merotopic, nearness, and filter algebras

We study algebraic properties of categories of Merotopic, Nearness, and Filter Algebras. We show that the category of filter torsion free abelian groups is an epireflective subcategory of the category of filter abelian groups. The forgetful functor from the category of filter rings to filter monoids is essentially algebraic and the forgetful functor from the category of filter groups to the cat...

متن کامل

Localization Theory for Triangulated Categories

Contents 1. Introduction 1 2. Categories of fractions and localization functors 3 3. Calculus of fractions 9 4. Localization for triangulated categories 14 5. Localization via Brown representability 24 6. Well generated triangulated categories 31 7. Localization for well generated categories 39 8. Epilogue: Beyond well generatedness 47 Appendix A. The abelianization of a triangulated category 4...

متن کامل

Decidability and Expressiveness of Finitely Representable Recognizable Graph Languages

Recognizable graph languages are a generalization of regular (word) languages to graphs (as well as arbitrary categories). Recently automaton functors were proposed as acceptors of recognizable graph languages. They promise to be a useful tool for the verification of dynamic systems, for example for invariant checking. Since automaton functors may contain an infinite number of finite state sets...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1998